﻿<UserControl x:Class="USMC.Net.windowedList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             Background="WhiteSmoke">
    <StackPanel>
        <Label>Точки</Label>
        <ListBox Name="pointsListView" Margin="3" SelectionMode="Multiple">
        </ListBox>
        <Label HorizontalAlignment="Center">Циклы</Label>
        <Button Click="Button_Click" HorizontalAlignment="Center" Name="addbutton">Добавить</Button>
        <Button HorizontalAlignment="Center" Name="removeButton" Click="removeButton_Click">Удалить</Button>
        <Label>Кол-во итераций</Label>
        <TextBox Name="countTextBox" HorizontalAlignment="Stretch" Margin="3"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Name="okButton" Margin="3" IsEnabled="False" Click="okButton_Click">
                <Button.Content>
                    <Image Width="15">
                        <Image.Source>
                            <BitmapImage UriSource="ok.png"></BitmapImage>
                        </Image.Source>
                    </Image>
                </Button.Content>
                <Button.ToolTip>Подтвердить</Button.ToolTip>
            </Button>
            <Button Name="cancellButton" Margin="3" IsEnabled="False" Click="cancellButton_Click">
                <Button.Content>
                    <Image Width="15">
                        <Image.Source>
                            <BitmapImage UriSource="cancel.png"></BitmapImage>
                        </Image.Source>
                    </Image>
                </Button.Content>
                <Button.ToolTip>Отменить</Button.ToolTip>
            </Button>
        </StackPanel>
    </StackPanel>
</UserControl>
